{__NOLAYOUT__}<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=__CHARSET__">
<title>{$radio_title} - 所有电台列表 </title>
<META content="{$radio_keywords}" name=keywords>
<META content="{$radio_description}" name=description>
<link href="__TMPL__/mini/css/all.css" rel="stylesheet" type="text/css" />
</head>
<body>

<table  border="0" align="center" cellpadding="0" cellspacing="0" background="__TMPL__/mini/images/t-bg1.gif" style="BORDER-bottom: #333333 1px solid;">
  <tr>
	<td height="28" align="center" class="newnav">
		<a title="详细电台首页" href="{:U('radio:mini/all')}" class="topnav"><font color=blue size='2'><b>详细电台</b></font></a>&nbsp;
	</td>
	{$menu sql="select id,name from #@class where module_id=($module_id) and typeid=0 and pid=($topid) and status=1 order by ordid asc, id asc" pagesize="5" pagemark="p"}
		<td align="center" class="newnav"><a title="{$menu("name")}" href="{:U('radio:mini/all?id='& menu('id') & AB.C.IIF(page>0,'&p='&page,'') )}" class="navstyle">{$menu("name")}</a>&nbsp;</td>
	{/$menu}

	{@pager data='menu'}
		{if pager("no")<2}
		<td height="28" align="right"><span class="All_top">上栏</span>&nbsp;
		{else}
		<td height="28" align="right"><a class="All_top_a" href="" target="_self">上栏</a>&nbsp;
		{/if}
		{if pager("count")-pager("no")>=0 }
		<span class="All_next">下栏</span>&nbsp;
		{else}
		<a class="All_next_a" href="{:U('radio:mini/all?id='&lmid&'&p='&pager('next'))}" target="_self">下栏</a>&nbsp;
		{/if}
	{/@pager}
  </tr>
</table>

{if app.req("id")=""}

<table  border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#191919" >

	{$rssc sql="select id,name from #@class where module_id=($module_id) and typeid=0 and pid<>0 AND pid<>($topid) and status=1 order by ordid asc, id asc"}
	{asp csid=rssc("id") }

	  <tr>
		<td height="25" width="130" align="left" style="BORDER-bottom: #333333 1px solid;"><div class="mainstyle">{$rssc("name")}</div></td>
		<td align="left" style="BORDER-bottom: #333333 1px solid;">&nbsp;

		{$radio sql="select name,id,content,color from #@radio where status=1 and is_del=0 and ','+[classid]+',' like '%,($csid),%' order by ordid asc,id asc"}
		  <A title="电台: {$radio("name")}&#13;描述: {$radio("content")}" href="{:U('radio:mini/radio?id=' & radio('id'))}" target="_blank">
			{if radio("color")<>"#000000"}
			<font color='{$radio("color")}'>{$radio("name")}</font>
			{else}
			{$radio("name")}
			{/if}</A>&nbsp;&nbsp;
		{/$radio}

	   </td>
	  </tr>

	{/$rssc}

</table>

{else}
{asp allid = CLng(app.req("id")) }

	<table border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#191919" >

	{$rssc2 sql="select id,name from #@class where module_id=($module_id) and typeid=0 and pid=($allid) and status=1 order by ordid asc, id asc"}
	{asp csid=rssc2("id") }

	  <tr>
		<td height="25" width="130" align="left" style="BORDER-bottom: #333333 1px solid;"><div class="mainstyle">{$rssc2("name")}</div></td>
		<td align="left" style="BORDER-bottom: #333333 1px solid;">&nbsp;

		{$radio2 sql="select name,id,content,color from #@radio where status=1 and is_del=0 and ','+[classid]+',' like '%,($csid),%' order by ordid asc,id asc"}
			<A title="电台: {$radio2("name")}&#13;描述: {$radio2("content")}" href="{:U('radio:mini/radio?id=' & radio2('id'))}" target="_blank">
			{if radio2("color")<>"#000000"}
			<font color='{$radio2("color")}'>{$radio2("name")}</font>
			{else}
			{$radio2("name")}
			{/if}</A>&nbsp;&nbsp;
		{/$radio2}

	   </td>
	  </tr>
	{/$rssc2}

	</table>

{/if}

<table border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#191919">
  <tr>
    <td width="100%" align="center">{$radio_web_copyright}</td>
  </tr>
  <tr>
    <td>
	<div style='display:none'>{$statistics_code}</div>
	</td>
  </tr>
</table>
</body>
</html>
